package com.cet.designpatterns.responsibilitychain;

import java.math.BigDecimal;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-09-29 10:08
 **/
public class PurchaseRequest {

    private int type;

    private BigDecimal price = new BigDecimal("0");

    private int id;

    public PurchaseRequest(int type, BigDecimal price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public int getId() {
        return id;
    }
}
